package com.jymj.entity;

import com.jymj.enumEntity.ProjDeclareTextEnum;
import com.jymj.enumEntity.ProjGeoEnum;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class PjProjEntity implements Serializable {

    private Integer id;
    private Integer msid;
    private String name;
    private Integer createPsn;
    private Date createDate;
    private boolean enable;
    private Integer waring;
    private String remark;//简介
    private List<Long> xzqIdList; //行政区id
    private List<String> codeIdList;   //1   user登陆时id
    private List<SysXzqEntity> xzqList;
    private Integer orderId;
    //项目概况
    //'承担单位'
    private String impUnit;
    //项目涉及乡镇、行政村
    private String planFw;
    //'项目四至'
    private String buildContent;
    //项目坐标
    private String projCoor;
    //'地貌类型'
    private Integer projGeo;
    private String projGeoText;
    //'申报类型'
    private Integer projDeclare;
    private String projDeclareText;
    //新增耕地面积 单位亩
    private BigDecimal xzgdmj;
    //项目建设规模 单位亩
    private BigDecimal projScale;
    //'建设工期'
    private String scaleCycle;
    private Date scalestartdate;//工期开始日期
    private Date scaleenddate;//工期结束日期
    //'投资估算'
    private BigDecimal projInvest;
    private Integer sjzhaizs;//涉及宅宗数
    private Integer sjfeizhaizs;//涉及非宅宗数
    private BigDecimal sjzhaizdmj;//涉及宅占地面积
    private BigDecimal sjzhaijzmj;//涉及宅建筑面积
    private BigDecimal sjfeizhaizdmj;//涉及非宅占地面积
    private BigDecimal sjfeizhaijzmj;//涉及非宅建筑面积
    private Integer sjzrk;//涉及人口
    private Integer sjzhs;//涉及户数
    private String center;//中心点坐标
    private String code;//
    private BigDecimal tzzj;//投资总计

    public BigDecimal getTzzj() {
        return tzzj;
    }

    public void setTzzj(BigDecimal tzzj) {
        this.tzzj = tzzj;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMsid() {
        return msid;
    }

    public void setMsid(Integer msid) {
        this.msid = msid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCreatePsn() {
        return createPsn;
    }

    public void setCreatePsn(Integer createPsn) {
        this.createPsn = createPsn;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public Integer getWaring() {
        return waring;
    }

    public void setWaring(Integer waring) {
        this.waring = waring;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<Long> getXzqIdList() {
        return xzqIdList;
    }

    public void setXzqIdList(List<Long> xzqIdList) {
        this.xzqIdList = xzqIdList;
    }

    public List<String> getCodeIdList() {
        return codeIdList;
    }

    public void setCodeIdList(List<String> codeIdList) {
        this.codeIdList = codeIdList;
    }

    public List<SysXzqEntity> getXzqList() {
        return xzqList;
    }

    public void setXzqList(List<SysXzqEntity> xzqList) {
        this.xzqList = xzqList;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getImpUnit() {
        return impUnit;
    }

    public void setImpUnit(String impUnit) {
        this.impUnit = impUnit;
    }

    public String getPlanFw() {
        return planFw;
    }

    public void setPlanFw(String planFw) {
        this.planFw = planFw;
    }

    public String getBuildContent() {
        return buildContent;
    }

    public void setBuildContent(String buildContent) {
        this.buildContent = buildContent;
    }

    public String getProjCoor() {
        return projCoor;
    }

    public void setProjCoor(String projCoor) {
        this.projCoor = projCoor;
    }

    public Integer getProjGeo() {
        return projGeo;
    }

    public void setProjGeo(Integer projGeo) {
        this.projGeo = projGeo;
    }

    public Integer getProjDeclare() {
        return projDeclare;
    }

    public void setProjDeclare(Integer projDeclare) {
        this.projDeclare = projDeclare;
    }

    public BigDecimal getXzgdmj() {
        return xzgdmj;
    }

    public void setXzgdmj(BigDecimal xzgdmj) {
        this.xzgdmj = xzgdmj;
    }

    public BigDecimal getProjScale() {
        return projScale;
    }

    public void setProjScale(BigDecimal projScale) {
        this.projScale = projScale;
    }

    public String getScaleCycle() {
        return scaleCycle;
    }

    public void setScaleCycle(String scaleCycle) {
        this.scaleCycle = scaleCycle;
    }

    public Date getScalestartdate() {
        return scalestartdate;
    }

    public void setScalestartdate(Date scalestartdate) {
        this.scalestartdate = scalestartdate;
    }

    public Date getScaleenddate() {
        return scaleenddate;
    }

    public void setScaleenddate(Date scaleenddate) {
        this.scaleenddate = scaleenddate;
    }

    public BigDecimal getProjInvest() {
        return projInvest;
    }

    public void setProjInvest(BigDecimal projInvest) {
        this.projInvest = projInvest;
    }

    public Integer getSjzhaizs() {
        return sjzhaizs;
    }

    public void setSjzhaizs(Integer sjzhaizs) {
        this.sjzhaizs = sjzhaizs;
    }

    public Integer getSjfeizhaizs() {
        return sjfeizhaizs;
    }

    public void setSjfeizhaizs(Integer sjfeizhaizs) {
        this.sjfeizhaizs = sjfeizhaizs;
    }

    public BigDecimal getSjzhaizdmj() {
        return sjzhaizdmj;
    }

    public void setSjzhaizdmj(BigDecimal sjzhaizdmj) {
        this.sjzhaizdmj = sjzhaizdmj;
    }

    public BigDecimal getSjzhaijzmj() {
        return sjzhaijzmj;
    }

    public void setSjzhaijzmj(BigDecimal sjzhaijzmj) {
        this.sjzhaijzmj = sjzhaijzmj;
    }

    public BigDecimal getSjfeizhaizdmj() {
        return sjfeizhaizdmj;
    }

    public void setSjfeizhaizdmj(BigDecimal sjfeizhaizdmj) {
        this.sjfeizhaizdmj = sjfeizhaizdmj;
    }

    public BigDecimal getSjfeizhaijzmj() {
        return sjfeizhaijzmj;
    }

    public void setSjfeizhaijzmj(BigDecimal sjfeizhaijzmj) {
        this.sjfeizhaijzmj = sjfeizhaijzmj;
    }

    public Integer getSjzrk() {
        return sjzrk;
    }

    public void setSjzrk(Integer sjzrk) {
        this.sjzrk = sjzrk;
    }

    public Integer getSjzhs() {
        return sjzhs;
    }

    public void setSjzhs(Integer sjzhs) {
        this.sjzhs = sjzhs;
    }

    public String getProjGeoText() {
        if (getProjGeo() != null) {
            return ProjGeoEnum.getName(getProjGeo());
        }
        return null;
    }

    public String getProjDeclareText() {
        if (getProjDeclare() != null) {
            return ProjDeclareTextEnum.getName(getProjDeclare());
        }
        return null;
    }

    public String getCenter() {
        return center;
    }

    public void setCenter(String center) {
        this.center = center;
    }
}
